Computer Configuration > Administrative Templates > Firefox > Proxy Settings
Both
HKLM\Software\Policies\Mozilla\Firefox\Proxy
If this policy is enabled, DNS is proxied when using SOCKS. If this policy is disabled, DNS is not proxied when using SOCKS. If this policy is not configured, DNS is not proxied when using SOCKS v4, but proxied when using SOCKS v5.